package map.android.baidu.carpool.data.impl;

import android.content.Context;
import com.baidu.lbs.net.http.model.ComNetData;
import map.android.baidu.carpool.WebConfig;
import map.android.baidu.carpool.response.ModifierHeadPicResponse;
import map.android.baidu.carpool.setting.UserInfoSetting;

import java.io.File;
import java.util.HashMap;
import java.util.Map;

/**
 * Created by zhangtongyu on 15/4/5.
 */
public class ModifierHeadPicData extends ComNetData<ModifierHeadPicResponse>{
    private File picFile;

    public ModifierHeadPicData(Context context) {
        super(context);
    }

    public void setPicFile(File picFile) {
        this.picFile = picFile;
    }

    @Override
    protected String getUrl() {
        return WebConfig.getUrl(WebConfig.URL_ID_MODIFIER_HEAD_PIC);
    }

    @Override
    protected Map<String, String> getParams() {
        Map<String, String> params = new HashMap<String, String>();
        params.put("bduss", UserInfoSetting.getBduss());
        return params;
    }


}
